package c.e.a.b.f.b;

/* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */
public abstract class a5 extends z1 {
    public boolean b;

    public a5(u4 u4Var) {
        super(u4Var);
        u4Var = this.a;
        u4Var.E++;
    }

    public final void t() {
        if (!this.b) {
            throw new IllegalStateException("Not initialized");
        }
    }

    public final void u() {
        if (this.b) {
            throw new IllegalStateException("Can't initialize twice");
        } else if (!v()) {
            this.a.F.incrementAndGet();
            this.b = true;
        }
    }

    public abstract boolean v();
}
